﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tum.CollabXT
{
    /// <summary>
    /// Interface fir a process provider (including the intermediate model).
    /// </summary>
    public interface IProcessProvider : IProvider
    {
        /// <summary>
        /// Gets all activities of a project model.
        /// </summary>
        List<IActivity> Activities
        {
            get;
        }

        /// <summary>
        /// Gets all artifacts of a project model.
        /// </summary>
        List<IArtifact> Artifacts
        {
            get;
        }

        /// <summary>
        /// Gets all roles of a project model.
        /// </summary>
        List<IRole> Roles
        {
            get;
        }

        /// <summary>
        /// Gets all disciplines of a project model.
        /// </summary>
        List<IDiscipline> Disciplines
        {
            get;
        }

        /// <summary>
        /// Gets all milestones of a project model.
        /// </summary>
        List<IMilestone> Milestones
        {
            get;
        }

        /// <summary>
        /// Gets all dependencies between basic artifacts.
        /// </summary>
        List<IAssociation> Associations
        {
            get;
        }

        /// <summary>
        /// Gets all topics, describing parts of objects.
        /// </summary>
        List<ITopic> Topics
        {
            get;
        }

        /// <summary>
        /// Gets the process name.
        /// </summary>
        string Name
        {
            get;
        }

        /// <summary>
        /// Gets the process description.
        /// </summary>
        string Description
        {
            get;
        }

        /// <summary>
        /// Gets all tasks of a project model.
        /// </summary>
        List<ITask> Tasks
        {
            get;
        }


        /// <summary>
        /// Initializes a process provider.
        /// </summary>
        /// <param name="log">Log to track status.</param>
        void Initialize(Log log);

        /// <summary>
        /// Gets the name of the config page XAML file or null, if none is needed.
        /// </summary>
        string GetConfigPageName();
    }
}
